home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / getting there / Apps / MOO-1.7.6.src / inc / my-sys-time.h < prev    next >
Text File  |  1994-11-02  |  2KB  |  61 lines

  1. /******************************************************************************
  2.   Copyright (c) 1992 Xerox Corporation.  All rights reserved.
  3.   Portions of this code were written by Stephen White, aka ghond.
  4.   Use and copying of this software and preparation of derivative works based
  5.   upon this software are permitted.  Any distribution of this software or
  6.   derivative works must comply with all applicable United States export
  7.   control laws.  This software is made available AS IS, and Xerox Corporation
  8.   makes no warranty about the software, its performance or its conformity to
  9.   any specification.  Any person obtaining a copy of this software is requested
  10.   to send their name and post office or electronic mail address to:
  11.     Pavel Curtis
  12.     Xerox PARC
  13.     3333 Coyote Hill Rd.
  14.     Palo Alto, CA 94304
  15.     Pavel@Xerox.Com
  16.  *****************************************************************************/
  17.  
  18. #include "config.h"
  19. #include "options.h"
  20.  
  21. #include <sys/time.h>
  22.  
  23. #if NEED_SELECT_H
  24. #  include <sys/select.h>
  25. #endif
  26.  
  27. #if NDECL_GETITIMER
  28. extern int    getitimer(int, struct itimerval *);
  29. #endif
  30.  
  31. #if NDECL_SETITIMER
  32. extern int    setitimer(int, struct itimerval *, struct itimerval *);
  33. #endif
  34.  
  35. #if NDECL_SELECT  &&  MPLEX_STYLE == MP_SELECT
  36. #include "my-types.h"
  37.  
  38. extern int    select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
  39. #endif
  40.  
  41. /* $Log: my-sys-time.h,v $
  42.  * Revision 1.5  1993/08/12  01:23:11  pavel
  43.  * -- Split out optional declaration of setitimer() to be independent of the
  44.  *    one for getitimer().
  45.  * -- Only use declaration of select() if MP_SELECT is enabled.
  46.  * -- Include <sys/select.h> if it exists.
  47.  *
  48.  * Revision 1.4  1992/10/23  23:03:47  pavel
  49.  * Added copyright notice.
  50.  *
  51.  * Revision 1.3  1992/10/21  03:02:35  pavel
  52.  * Converted to use new automatic configuration system.
  53.  *
  54.  * Revision 1.2  1992/10/17  21:01:10  pavel
  55.  * Dyked out useless declaration of gettimeofday().
  56.  * Added some more system-dependent #if's.
  57.  *
  58.  * Revision 1.1  1992/07/20  23:23:12  pavel
  59.  * Initial RCS-controlled version.
  60.  */
  61.